/**
 * 该场景固定长宽: 1024 x 896
 * 
 * HTML 设置方案
 * #main
 *   #content (底层, 1920x1080)
 */

import SelectApp from '../comps/selectApp';

function createScene(context) {
	let t = new SelectApp(context);
	let scene = new context.Scene({
		require : ['pixi', 'sound'],
		init : (libs) => t.init(libs),
		destroy : () => t.destroy(),
		collectInfo : () => t.collectInfo(),
		onMessage : (key, data) => t.onMessage(key, data),
	});
	t.sendStatus = scene.sendStatus;
	return scene;
}

export default createScene;